<%--
  Created by IntelliJ IDEA.
  User: Zero
  Date: 2021/5/7
  Time: 16:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Request Mapping</title>
</head>
<body>
<h3>RequestMapping 注解基本使用</h3>
<table border="1">
    <tr>
        <th>方法</th>
        <th>说明</th>
    </tr>
    <tr>
        <td><a href="request_mapping/method1">method1</a></td>
        <td>方法1请求可正常执行</td>
    </tr>
    <tr>
        <td><a href="request_mapping/method2">method2</a></td>
        <td>方法2请求类型必须为Post，所以请求不成功</td>
    </tr>
    <tr>
        <td><a href="request_mapping/method3?param=bbb">method3</a></td>
        <td>方法3请求参数中必须有名为<b>param</b>的参数，否则请求不成功</td>
    </tr>
    <tr>
        <td><a href="request_mapping/method4?param=bbb">method4</a></td>
        <td>方法4请求参数中必须有<b>param=aaa</b>的参数，否则请求不成功</td>
    </tr>
    <tr>
        <td><a href="request_mapping/method5">method5</a></td>
        <td>方法5请求头中必须有<b>User-Agent</b>的参数，否则请求不成功</td>
    </tr>
</table>
</body>
</html>
